//
//  MyCustomCell.h
//  KCFurProject
//
//  Created by iOS程序员 on 15/11/3.
//  Copyright (c) 2015年 iOS程序员. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GoodsInfoModel.h"

//添加代理，用于按钮加减的实现
@protocol MyCustomCellDelegate <NSObject>

-(void)btnClick:(UITableViewCell *)cell andFlag:(int)flag;

@end



@interface MyCustomCell : UITableViewCell

@property (strong ,nonatomic) UIImageView *goodsImgV;//商品图片
@property (strong ,nonatomic) UILabel *goodsTitleLab;//商品标题
@property (strong ,nonatomic) UILabel *leiXingLabel;//商品类型
@property (strong ,nonatomic) UILabel *yanSeLabel;//上平颜色
@property (strong ,nonatomic) UILabel *priceTitleLab;//价格标签
@property (strong ,nonatomic) UILabel *priceLab;//具体价格
@property (strong ,nonatomic) UILabel *goodsNumLab;//购买数量标签
@property (strong ,nonatomic) UILabel *numCountLab;//购买商品的数量
@property (strong ,nonatomic) UIButton *addBtn;//添加商品数量
@property (strong ,nonatomic) UIButton *deleteBtn;//删除商品数量
@property (strong ,nonatomic) UIButton *isSelectBtn;//是否选中按钮
@property (strong ,nonatomic) UIImageView *isSelectImg;//是否选中图片

@property (strong ,nonatomic) UIImageView *xianImage;//cell的分割线

@property (assign ,nonatomic) BOOL selectState;//选中状态

@property (assign ,nonatomic) id<MyCustomCellDelegate>delegate;



//赋值
-(void)addTheValue:(GoodsInfoModel *)goodsModel;

@end
